﻿#region summary
// Copyright (c)  MOKEYISH. All rights reserved.
// Licensed under the MIT License, See License.txt in the project root for license information.
#endregion

using NSQL.Expressions;
using NSQL.Statements.SelectStatements;

namespace NSQL.Statements
{
    public interface ISelectStatement : IDataSetStatement, ITableSource
    {
        SelectElementCollection Elements { get;}
        TableSourceCollection TableSources { get; } 
        ILogicalExpression Condition { get; set; }
        GroupCollection GroupClause { get; }
        SortingCollection Order { get; }
        int Skip { get; set; }
        int Limit { get; set; }
        bool CanOptimized { get; }
    }
}